package UCM;

import Views.ViewDisplayCreateUser;

/**
 * UC the creates display users
 * @author Josh
 */
public class UCDisplayCreateUser implements UCController {

    private ViewDisplayCreateUser view;

    /**
     * Initualises the view
     * @param view
     */
    public UCDisplayCreateUser(ViewDisplayCreateUser view) {
        this.view = view;
    }

    /**
     * Precondition: user is on main ui
     * Users clicks on a button
     * System displays user
     * Postcondition user is on create account page
     */
    public void run() {
        view.setCreateUserVisible();
    }
}
